listbox: return GDK_EVENT_STOP if button events were handled
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 28 Jan 2014 15:44:01 +0000 (16:44 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 28 Jan 2014 15:44:01 +0000 (16:44 +0100)
commit628b1f5e1cf562e0318b8de70324e07ec77c92cf
tree813cf89e9ab7e393bbc89cc982d2028a19e6e33b
parent709fb26587ab1f32780c4c932857eb52250d42a8
listbox: return GDK_EVENT_STOP if button events were handled

The button press/release handlers did invariably return FALSE, even
though it shouldn't if a row was found on the event coordinates. Also,
use GDK_EVENT_* defines for the return values.
gtk/gtklistbox.c